.dept-update-dept-item {
    position: relative;
    margin: 5px 0;
    text-align: center;
    font-size: 15px;
    transition: 0.2s;
    border: none;
    background: none;
    outline-color: rgb(74, 137, 255);
    outline-width: 1px;
}

.dept-update-mv-group {
    text-align: left;
}

.dept-update-mkdept-btn {
    margin-top: 20px;
    padding: 5px 10px;
    border-radius: 5px;
    background: rgb(0, 140, 255);
    color: white;
    width: 5rem;
    position: relative;
    left: 50%;
    transform: translate(-50%, 0);
    cursor: pointer;
}

.dept-update-dept-delete,
.dept-update-dept-move {
    position: absolute;
    top: 50%;
    transform: translate(0%, -50%);
    margin-left: 10px;
    border-radius: 5px;
    color: white;
    font-size: 13px;
    padding: 0 7px;
    letter-spacing: 2px;
    height: 25px;
    line-height: 25px;
    transition: 0.2s;
    visibility: hidden;
    opacity: 0;
    cursor: pointer;
}

.dept-update-dept-delete {
    right: 0;
    background: red;
}

.dept-update-dept-move {
    right: 50px;
    background: rgb(0, 47, 255);
}

.dept-update-dept-delete:hover {
    background: rgb(255, 91, 91);
}

.dept-update-dept-move:hover {
    background: rgb(0, 102, 255);
}

.dept-update-dept-items {
    transition: 0.2s;
    position: relative;
}

.dept-update-dept-items:hover 
.dept-update-dept-move {
    visibility: visible;
    opacity: 1;
}

.dept-update-dept-items:hover 
.dept-update-dept-delete {
    visibility: visible;
    opacity: 1;
}

.dept-update-dept-items:hover {
    background: #f9f9f9;
}